<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FacilityBookingManagement.ascx.cs" Inherits="admin_FacilityBookingManagement" %>
<script type="text/javascript">
  $(function() {
		$("#<%=txtRentDate.ClientID %>" ).datepicker();
	});
</script>
<table>
    <tr>
        <td style="width: 100px">
            Customer name:</td>
        <td style="width: 201px">
            <asp:Label ID="lblCustomerName" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Date of birth:</td>
        <td style="width: 201px">
            <asp:Label ID="lblDateOfBirth" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Gender:</td>
        <td style="width: 201px">
            <asp:Label ID="lblGender" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Customer address:</td>
        <td style="width: 201px">
            <asp:Label ID="lblAddress" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Customer email:</td>
        <td style="width: 201px">
            <asp:Label ID="lblEmail" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Customer phone:</td>
        <td style="width: 201px">
            <asp:Label ID="lblPhone" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Booked facility:</td>
        <td style="width: 201px">
            <asp:Label ID="lblFacName" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Basic price:</td>
        <td style="width: 201px">
            <asp:Label ID="lblBasicPrice" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Quantity:</td>
        <td style="width: 201px">
            <asp:TextBox ID="txtQuantity" runat="server" ValidationGroup="A"></asp:TextBox></td>
        <td style="width: 100px">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Please specify the Quantity"
                ValidationGroup="A" ControlToValidate="txtQuantity" ValidationExpression="\d+">*</asp:RegularExpressionValidator></td>
    </tr>
    <tr>
        <td style="width: 100px">
            Rent date:</td>
        <td style="width: 201px">
            <asp:TextBox ID="txtRentDate" runat="server"></asp:TextBox></td>
        <td style="width: 100px">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Rent Date is required"
                ValidationGroup="A" ControlToValidate="txtRentDate">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 100px">
            During:</td>
        <td style="width: 201px">
            <asp:TextBox ID="txtDuring" runat="server" ValidationGroup="A"></asp:TextBox></td>
        <td style="width: 100px">
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Please specify during time"
                ValidationGroup="A" ControlToValidate="txtDuring" ValidationExpression="\d+">*</asp:RegularExpressionValidator></td>
    </tr>
    <tr>
        <td style="width: 100px; height: 80px;">
            Requirement:</td>
        <td style="width: 201px; height: 80px;">
            <asp:TextBox ID="txtNote" runat="server" Height="70px" TextMode="MultiLine" Width="200px"></asp:TextBox></td>
        <td style="width: 100px; height: 80px;">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            Booking date:</td>
        <td style="width: 201px">
            <asp:Label ID="lblBookingDate" runat="server"></asp:Label></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
            State</td>
        <td style="width: 201px">
            <asp:DropDownList ID="cmbState" runat="server">
            </asp:DropDownList></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
        <td style="width: 100px">
        </td>
        <td style="width: 201px">
            <asp:LinkButton ID="lnkUpdate" runat="server" CssClass="c_button" ValidationGroup="A" OnClick="lnkUpdate_Click">Update</asp:LinkButton>
            <asp:LinkButton ID="lnkDelete" runat="server" CssClass="c_button" OnClick="lnkDelete_Click">Delete</asp:LinkButton></td>
        <td style="width: 100px">
        </td>
    </tr>
    <tr>
    <td></td>
    <td style="padding-top:15px;"><a href="Default.aspx?ctrl=booking_list&search=<%=GetSearchRequest() %>">Back to list page</a></td>
    <td></td>
    </tr>
</table>
<script type="text/javascript" language="javascript">    
	window.location.hash="<%=ActiveAccording %>";
</script>